let name = 'jshand'


function showName() {

    //打印变量
    // console.log("name: ", name);

    if (name) {
        console.log("有名字", name)
    } else {
        console.log("else ...... 未知 的名字")
    }
    let name = '张国荣'

}

//调用方法
// showName()

//定义常量
const pi = 3.14;
let radius = 5;

let area = pi * (radius ** 2);

// console.log("radius:  " + radius + " area : " + area)
console.log(`radius: ${radius} , area: ${area}  `)

// pi = 3.1415926
area = pi * (radius ** 2);
console.log(`radius: ${radius} , area: ${area}  `)



// let address = '黑龙江哈尔滨哈西大街199'
// console.log("address", address);

// let address = 'test'
// console.log("address", address);


